#bash tips
Explore tagged Tumblr posts
wayfire-official · 6 months ago
Text
i did a little bash thing that allows you to get the Template functionality most file explorers have within your terminal.
templ(){
FILE=$1
EXTENSION=${1#${1%\.}}
TEMPLATE=$(find ~/Templates -maxdepth 1 -type f -iname "$EXTENSION")
if [ -f "$FILE" ]; then
echo "File $FILE exists."
return 1;
fi
if [ ! -f "$TEMPLATE" ]; then
echo "No Template Found; creating blank file"
touch $FILE
return 1;
fi
cp "$TEMPLATE" "$FILE"
}
it's supposted to kinda work like an extended touch where it detects the extension and if it finds a template in ~/Templates then it just copies that over.
i wanted it because i found myself googling "[language] boilerplate" a lot recently
just copy it over to your .bashrc or source it from a seperate file, populate your Templates directory with some templates and you should be good to go.
if you have any additional ideas then please tell. i'm thinking of maybe having a couple different templates for the same extension, like java interface vs class that you have to choose but idk.
also i didn't really check to see if that kind of thing already existed, so if it does please tell me
5 notes · View notes
lupinescribbler · 8 months ago
Text
Writing Visceral Reactions: Doing Too Much
(Note that I don't believe almost any writing advice can serve as hard/fast rules, just tips to take or discard as suits your writing - and this one in particular is really just my opinion)
"Terror danced across her skin, hot and electrifying." "He felt a stone settle into his stomach at her words." "The sense of betrayal hit him like a bucket of ice water, and he could swear he still felt the rivulets dripping off him."
For me visceral reactions is any emotion/sensation portrayed through the "viscera" of the POV character, though I expand it to incorporate body parts such as the skin as well. Generally it leans on metaphorical language, and strives to evoke the way people can feel intense emotions physically. As cliche as it sounds, I think everyone has felt their chest 'squeeze', or their stomach 'drop out of their body'.
Almost every book I've ever read uses it at some point, or else frequently. I mean, I use it plenty. It can be a very, well, visceral way to invite your readers to experience a strong emotion alongside the POV character.
However it can be over the top. It can be melodramatic. It can be paragraphs of skim-worthy out-of-touch metaphorical language that disengages me from the reality of a key scene. It's something that I feel like I've overused in the past. So here's a couple tips I try to use to a) have my visceral reactions writing fit well tonally in a story without coming off as 'too much', and to b) achieve some of the same results of visceral writing without relying on it as my only tool for evoking emotion.
Less is more. Visceral emotions can be wordless, and hard to describe. That's part of their nature, they're felt from the gut, not the brain. So it can sometimes be better to make your descriptions of them shorter and punchier instead of long and flowing. Try to narrow yourself down to the one body part it is felt most in, and the one adjective/adverb/verb/whatever that best describes it. This can also help it package more neatly into the story instead of pausing the narrative entirely to describe it.
Be authentic. Describe what you genuinely feel. If you have trouble summoning up a visceral emotion unprompted, try putting yourself back into the last moment you felt that way. Drawing on real emotion can help ground the emotion and help it carry the evocative weight you want it to.
Let your readers do some of the legwork. Visceral descriptions of emotions shouldn't be the only reason your readers feel that way. If they're connected to the story by how you set the stakes, explored the characters and their relationships, and wrote everything that came before, then that visceral description might not even be necessary -- or if you still use it, it will feel far more earned, which reduces a feeling of melodrama. The readers should care that the rescue mission failed, or that a character died, or feel pissed off at unfairness, without needing it force fed to them.
Use subtler mechanisms to evoke emotion. Sometimes a scene is able to breathe just being sad without you overtly talking about how sad it is. A character cleaning out an apartment they used to share with a now dead friend is sad, thats a feeling that can hang onto every action, everything said or not said, everything done or not done, can be felt even when unnamed. Trust nuance, build variety in the scenes that have loud emotions, and the scenes with quiet ones.
20 notes · View notes
msnogood · 11 months ago
Text
Junk as Art & Craft Material
Suffer from hoards of junk from your dungeon
Realize you despise each and every one of them
Stop, before you burn them with heck fire, and think
Can I use any of them as materials, and turn them into something less despicable?
Bonus points for combining more than one junk into new art
If yes, profit! You shall art and craft with free materials!
If you ever stumble upon this post, please tell me about trash you creatively used for art that you thought was so clever you want to tell everyone about it (I want to hear it).
Mine are:
Packaging closed cell-foam blocks as needlefelting base
Using all sorts of fiber for needlefelting, my cut hair, my cat’s hair, my mom’s and aunt’s dog hair, unraveled yarn wool, unraveled wool from felted phone case for a long-gone dumb phone, and my most proud one was poly-liners from grocery deliveries from the panini era (absolutely atrocious and opulent one-use material cause poly-fluff isn’t even cheap from crafts stores)
Random plastic pieces incorporated as parts for my projects like little red heart tabs from bubble tea bottles as ears, salvaged plastic flower stems for my strange flower. Colored plastics and plastics in interesting pre-mold shapes are my preferred junk.
Using junk doesn’t mean the end result ought to be flimsy either. It really depends on your choice of junk and how they are used. I recommend paying attention to the material of choice, and recall / visualize how they behave from your own experience. Some plastics are more brittle and UV susceptible than others, and I avoid those.
I also used to scoff at plastics and prefer biodegradable materials. Then I had a brain thought on: if the junk biodegrades, they don’t really need saving (unless they’re really interesting). So it seems sensible to incorporate non-biodegradable junk in my projects.
Downside (sort of) is, sometimes one of these creative use of junk becomes a preferred method of doing things and you either have to loot your friends and family’s dungeons or buy more for your future project.
But I am grateful for the original junk that gave me these crafting ideas out of necessity, and implore everyone to really reimagine your trash as art and craft materials. This practice opened my mind about how strongly my preconceptions can be about inanimate objects sometimes due to frustration, sometimes due to environmental / context associations.
Every object can be deconstructed, some are useful for your work while some may not be. Your choice of material can be your inspiration. I am no master at this, but when a piece of “junk” clicks with my project seamlessly, it’s like the stars aligned and I discovered a secret thing that was meant to be. As if the Muses say: hey, here is a great piece of guilt-free money-free material for this exact project you will want to make.
It’s a blessed thing. Junk.
25 notes · View notes
lilsblavk · 1 year ago
Text
I need help finding a fic!! But my brain isn't functioning properly as I only remember a part of it. All I know is that Snape tries using legilimency on Harry during potions class and Harry senses it and throws him out causing snape to fly across the room, everyone in the class saw everything that happened and Susan bones immediately writes to her aunt about what had happened and the next time I believe is when news spread that snape was arrested and sent to Azkaban. SOMEONE HELP ME I NEED TO READ IT OR ELSE MY BRAIN WONT LET ME REST!
Tumblr media
40 notes · View notes
appallinnballin · 11 months ago
Note
U ever think abt how much ruv loves his wife? Bc I do, I do all the time
I DOOO I DOOOOOOOO!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! I DO WAY TOO MUCH!!!!!!!!!!!!!!!!!!!!!!!!! FUCK
Tumblr media
14 notes · View notes
every-eye-evermore · 2 years ago
Text
Writing up a list of ftm fashion tips that *aren’t* giving up every ounce of individualism… any suggestions?
70 notes · View notes
tracle0 · 1 year ago
Text
Small writing tip
I've found myself getting lost in chapters quite a lot. Finding the sentences dawdling or meandering, or just not being fully sure what my intention is anymore. To try and counter this, I've started writing little plans for each chapter before I start writing, it, and keeping it at the bottom of the document.
Some examples (from my lil prophet story woo):
Tumblr media Tumblr media
nd in this case, 'bus scene' ended up needing expanding too:
Tumblr media
It's very base bones, very rough, just an outline of what happens plot-wise and maybe emotion-wise, if it's going to be a heavy chapter. Helps to have something to refer back to. I don't know if it's useful or helpful to anyone else, but could well be? Food for thought :)?
21 notes · View notes
rhetoricalsoapbox · 4 months ago
Text
Tumblr media
Celebrating my birthday and I had to sneak my special interest into something..
4 notes · View notes
saphstories · 9 months ago
Text
Tumblr media
Team Sonic Headshot Sketches
I'm really happy with how Tails and Amy came out. Especially Tails, my baby! 🥰🥰🥰🥰 (Fixed his right ear idk HOW MANY TIMES BEFORE I SAID HECK WITH IT 🤣🤣🤣) First character Sketches I've ever done, not too shabby, I hope?
8 notes · View notes
outta-trouble · 5 months ago
Text
btw GEMINI GAVE ME MOBIANSONA ART TIPS???
Tumblr media
2 notes · View notes
moldri · 5 months ago
Text
guys help me out!! do you guys have any cool nine sols drawing ideas? maybe something vaguely similar to the one I’ve already done? I REALLY want to draw yi and ji,, and also less so but still all the other sols (except jiequan and kuafu bc unfortunately I don’t think I’ll be able to do them justice just yet with my limited skills in drawing different body types, or eigong bc I. don’t like her lol/lh SHES AN INTERESTING CHARACTER but I don’t like her enough to wanna draw her yknow) so!!! is there any cool drawing ideas you’d like to see that I can do maybe? anything really! im really stuck for ideas rn lol
5 notes · View notes
majorasnightmare · 1 year ago
Text
like just for the record ive been using this lil freak as a coping method to get through TWO moves and im so invested. he is NOT well in the head and i thought too hard about ketheric and him pre head stabbing and isobel with autopsy scars and i am just losing it like jesus christ. you probably restored her corpse and then bhaal tells you to kill her again! and this is AFTERRRR being used as a goddamn medical manikin so kressa can croon to her hubby how cute your intestinal tract is. giving me mental illness for REAL
3 notes · View notes
nixcraft · 2 years ago
Text
How to run command or code in parallel in bash shell under Linux or Unix
7 notes · View notes
sapphire-heart-tippy · 2 years ago
Text
BelTipVans:
a bunch of weird gay slut boys in goth clown makeup
11 notes · View notes
slankyyy-vs-the-world · 2 days ago
Text
Theres an fe/3h rare pair weak starting in Nov. on Bsky - a part of me is a little hesitant to post MercieMik shenanigans since the conformist in me is scared to “blacklist” myself from the greater fe/3hsky community by even including Mik
but then I remember the people I’m going to be blacklisting myself are mostly people I’m not interested in talking to in the slightest lmfao
1 note · View note
blackmoreops · 29 days ago
Text
How to Enable Bash Autocomplete in Kali Linux
Ran into another little snag in Kali Linux on WSL. It seems that I has to manually Enable Bash Autocomplete in Kali Linux for WSL or as the old Linux ways goes, install bash-autocompletion. Bash autocomplete is a handy feature that saves you time and keystrokes whilst working with the command line in Kali Linux. This powerful functionality allows you to press the Tab key to automatically complete…
0 notes